c program to print power of user given input